package com.ydy.permission.service;

import com.ydy.common.model.Dict;
import com.ydy.common.vo.UserRoleMenuPermissionVo;

import java.util.List;
import java.util.Map;

public interface PermissionService {
    
    List<UserRoleMenuPermissionVo> queryUserRole();

    List<UserRoleMenuPermissionVo> queryRoleMenus();

    List<UserRoleMenuPermissionVo> queryRolePermission();

    void saveUserRole(List<Map<String, String>> addOrDelList, List<Map<String, String>> addOrDelList1);

    void saveRoleMenu(List<Map<String, String>> addOrDelList, List<Map<String, String>> addOrDelList1);

    void saveRolePermission(List<Map<String, String>> addOrDelList, List<Map<String, String>> addOrDelList1);

    List<Dict> queryDictList();
}
